<?php
include(DOCINCLUDES."pagesettings/users.inc");
include(DOCINCLUDES."global_files/global_form.inc");
include(DOCINCLUDES."global_files/global_functions.inc");
include(DOCINCLUDES."global_files/global_report.inc");
$page->doHeaderHtml();
$page->doCentreHtml();
echo $_GET["msg"];
$report=new cReport();
//create form object
$form=new cForm();
$form->properties=array("name"=>"login","action"=>"loginscript.php","method"=>"POST");
echo $form->startForm();
$form->properties=array("type"=>"text","class"=>"textm","name"=>"login_name","value"=>"$login_name", "size"=>"10","maxlength"=>"15");
$login_form[0]["Login"]=$form->generateInputTag();
$form->properties=array("type"=>"password","class"=>"textm","name"=>"access_code","value"=>"$access_code","size"=>"10","maxlength"=>"15");
$login_form[0]["Password"]=$form->generateInputTag();
$form->properties=array("type"=>"submit","name"=>"login_submit","value"=>"Login","class"=>"button");
$login_form[0][""]=$form->generateInputTag();
$report->data=$login_form;
$report->customization["table_style"]="width:30%; border-style:none; border-width:0;";
$report->customization["tr_style"]="border-style:none; border-width:0;";
$report->highlight=false;
echo "<div align=\"center\">";
$report->doVerticalTable();
echo $form->endForm();

$page->doFooterHtml();
?>
